Piwik\Tracker\Request D

Total Complexity 149
Dependencies 22
Dependents 115
Total lines 750
Lines of code 546
Logical lines of code 316
Comment lines 129
Methods 46
Properties 11

Methods 46

Method Rating Maintainability Complexity Lines of code
isRequestExcluded()
B
41 17 55
getCustomTimestamp()
A
43 14 45
getVisitorId()
A
45 12 42
getLocalTime()
A
54 9 19
authenticateSuperUserOrAdminOrWrite()
A
50 8 27
authenticateTrackingApi()
A
47 7 37
getParam()
S
39 4 69
getVisitorIdForThirdPartyCookie()
S
55 6 20
__construct()
S
55 6 18
replaceUnsupportedUtf8Chars()
S
56 5 17
setThirdPartyCookie()
S
56 4 18
getIdSite()
S
59 4 15
getIpString()
S
63 3 11
getThirdPartyCookieVisitorId()
S
66 3 8
getCurrentTimestamp()
S
66 3 9
isTimestampValid()
S
69 3 6
getForcedUserId()
S
69 2 7
getPlugins()
S
65 2 8
makeThirdPartyCookieUID()
S
65 2 9
getClientHints()
S
71 2 5
getMetadata()
S
77 2 3
getUserAgent()
S
68 2 7
getIdSiteIfExists()
S
70 2 7
setParam()
S
68 2 7
isAuthenticated()
S
72 2 6
getBrowserLanguage()
S
74 2 4
getVisitorIdAsBinary()
S
67 2 8
hasParam()
S
79 1 3
getForcedVisitorId()
S
80 1 3
getRawParams()
S
82 1 3
setMetadata()
S
79 1 3
getTokenAuth()
S
82 1 3
getUserIdHashed()
S
78 1 3
truncateIdAsVisitorId()
S
79 1 3
isEmptyRequest()
S
82 1 3
setCurrentTimestamp()
S
81 1 3
shouldUseThirdPartyCookie()
S
78 1 3
getParams()
S
82 1 3
getIp()
S
80 1 3
getIdSiteUnverified()
S
71 1 5
getGoalRevenue()
S
78 1 3
getCookieDomain()
S
78 1 3
getCookiePath()
S
78 1 3
getCookieExpire()
S
77 1 3
getCookieName()
S
78 1 3
getCurrentDate()
S
79 1 3